import request from '@/utils/request'
export const articleShare = function(params){
  return request({
    url: '/kanban/get_all_article_sharing_statistics',
    method: 'get',
    params: params
  })
}
export const articleTrans = function(params){
  return request({
    url: '/kanban/get_all_article_iscount_product_rate',
    method: 'get',
    params: params
  })
}

export const articleVisit = function(params){
  return request({
    url: '/kanban/get_all_article_page_view_t',
    method: 'get',
    params: params
  })
}



export const productShare = function(params){
  return request({
    url: '/kanban/get_all_product_sharing_statistics',
    method: 'get',
    params: params
  })
}


export const productTrans = function(params){
  return request({
    url: '/kanban/get_all_product_page_view_rate',
    method: 'get',
    params: params
  })
}
// 产品访问量
export const productVisit = function(params){
  return request({
    url: '/kanban/get_all_product_page_view_t',
    method: 'get',
    params: params
  })
}




export const viewViist = function(params){
  return request({
    url: '/kanban/get_all_page_web_site_b',
    method: 'get',
    params: params
  })
}


export const viewTrend = function(params){
  return request({
    url: '/kanban/get_all_page_web_site_t',
    method: 'get',
    params: params
  })
}

export const allData = function(params){
  return request({
    url: '/kanban/get_all_today_data_count',
    method: 'get',
    params: params
  })
}
export const betatesterVisit = function(params){
  return request({
    url: '/kanban/get_all_beta_tester_page_view_registered_users_num',
    method: 'get',
    params: params
  })
}

export const betatestertransWB = function(params){
  return request({
    url: '/kanban/get_all_beta_tester_warranty_register_first_rate',
    method: 'get',
    params: params
  })
}
export const betatesterTrans = function(params){
  return request({
    url: '/kanban/get_all_beta_tester_page_view_percent_conversion',
    method: 'get',
    params: params
  })
}

export const warrantyVisit = function(params){
  return request({
    url: '/kanban/get_all_warranty_page_view_registered_users_num',
    method: 'get',
    params: params
  })
}

export const warrantyTrans = function(params){
  return request({
    url: '/kanban/get_all_warranty_page_view_percent_conversion',
    method: 'get',
    params: params
  })
}
export const warrantySale = function(params){
  return request({
    url: '/kanban/get_all_warranty_registration_rate_sales_volume',
    method: 'get',
    params: params
  })
}

export const warrantyTime = function(params){
  return request({
    url: '/kanban/get_all_successful_registration_record',
    method: 'get',
    params: params
  })
}





